package com.example.demo.service;

import com.example.demo.entity.UserEntity;
import com.example.demo.result.Result;

public interface UserService {

    //注册新用户
    Result enroll(UserEntity userEntity);

    //登录
    Result login(UserEntity userEntity);

    //查询操作者权限
    Result selectAuthority(String username);
}
